package com.roads.agency.domain;

import com.roads.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 代建计量对象 agency_meterage_master
 *
 * @author nhp
 * @date 2023-08-09
 */
public class AgencyMeterageMaster extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long masterId;

    /**
     * 标段编码
     */
    private String institutionCode;

    /**
     * 标段名称
     */
    private String institutionName;

    /**
     * 期次
     */
    private String periodName;

    /**
     * 项目ID
     */
    private Integer projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 单位
     */
    private String companyName;

    /**
     * 申请编号
     */
    private String applyCode;

    /**
     * 当前部门ID
     */
    private Long currentDept;

    /**
     * 当前部门名称
     */
    private String currentDeptName;

    /**
     * 当前用户
     */
    private String currentUser;

    /**
     * 当前用户名称
     */
    private String currentUserName;

    /**
     * 状态(0 正常 1锁定)
     */
    private String status;

    /**
     * uuid
     */
    private String uuid;

    /**
     * 流程uuid
     */
    private String workflowUuid;

    /**
     * 附件数量
     */
    private Integer annexCount;


    public void setMasterId(Long masterId) {
        this.masterId = masterId;
    }

    public Long getMasterId() {
        return masterId;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setPeriodName(String periodName) {
        this.periodName = periodName;
    }

    public String getPeriodName() {
        return periodName;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setApplyCode(String applyCode) {
        this.applyCode = applyCode;
    }

    public String getApplyCode() {
        return applyCode;
    }

    public void setCurrentDept(Long currentDept) {
        this.currentDept = currentDept;
    }

    public Long getCurrentDept() {
        return currentDept;
    }

    public void setCurrentDeptName(String currentDeptName) {
        this.currentDeptName = currentDeptName;
    }

    public String getCurrentDeptName() {
        return currentDeptName;
    }

    public void setCurrentUser(String currentUser) {
        this.currentUser = currentUser;
    }

    public String getCurrentUser() {
        return currentUser;
    }

    public void setCurrentUserName(String currentUserName) {
        this.currentUserName = currentUserName;
    }

    public String getCurrentUserName() {
        return currentUserName;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUuid() {
        return uuid;
    }

    public void setWorkflowUuid(String workflowUuid) {
        this.workflowUuid = workflowUuid;
    }

    public String getWorkflowUuid() {
        return workflowUuid;
    }

    public Integer getAnnexCount() {
        return annexCount;
    }

    public void setAnnexCount(Integer annexCount) {
        this.annexCount = annexCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("masterId", getMasterId())
                .append("institutionCode", getInstitutionCode())
                .append("institutionName", getInstitutionName())
                .append("periodName", getPeriodName())
                .append("projectId", getProjectId())
                .append("projectName", getProjectName())
                .append("companyName", getCompanyName())
                .append("applyCode", getApplyCode())
                .append("currentDept", getCurrentDept())
                .append("currentDeptName", getCurrentDeptName())
                .append("currentUser", getCurrentUser())
                .append("currentUserName", getCurrentUserName())
                .append("status", getStatus())
                .append("uuid", getUuid())
                .append("workflowUuid", getWorkflowUuid())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

}
